// 引入mongoose
const mongoose = require('mongoose')
// 创建Schema
const Schema = mongoose.Schema
// 指导
const GuidanceSchema = new Schema({
    // // 商品名称
    // flowerName: {
    //     type: String,
    //     required: true,
    // },
    // 用户名称
    userName:{
        type: String,
        required: true,
    },
    messageAry:{
        type:Array,
        default:[]
    }
})

module.exports = Guidances = mongoose.model('guidances', GuidanceSchema)
